package graphIndexerPackage;

import java.util.Calendar;


public class Main {

   public static void main(String[] args) throws Exception {
		if (args.length < 1) {
			System.out.println("Usage app [xmlFile.xml]");
			return;
		}

		IndexerXML indexer			= new IndexerXML(args[0]);
		GraphicIndexer guiIndexer	= new GraphicIndexer(indexer);
		long startTime = Calendar.getInstance().getTimeInMillis();
		guiIndexer.start();
		long endTime = Calendar.getInstance().getTimeInMillis() - startTime;
		System.out.println("Elapsed time :" + endTime / 1000 + "s");
	}
}
